home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
qbsvga.zip
/
QBSVGA.HST
< prev
next >
Wrap
Text File
|
1996-09-02
|
7KB
|
99 lines
Version 1 - 4/22/96 - First release
Version 2 - 5/2/96 - BVIEW now draws the border just outside of the
viewport instead of at its edges to better simulate
QB's VIEW statement. Updated FEATURE.ADV file to
describe another situation in which the feature it
discusses might be useful. (QBSVGA.TXT's discussion
of BCLS is now coherent...hopefully, and that file now
also lists the labels used by QBSVGA so you can know
which ones to avoid using yourself.) Fixed active
video page problem so that pages other than 0 can now
be accessed (if they exist). Fixed different video
page problem in BPRINT. Added emulation of QB's POS
and CRSLIN functions in one QBSVGA function. Made
almost superfluous correction to VS, VS1, and FINDMODE
auxiliary programs. Added routine in demo program
SIM.BAS to show that QB's standard PALETTE command
can be used with SVGA video modes. Fixed "problems"
caused by my misconception of color and page parameters
in QB's SCREEN statement. (Page numbers passed to
BSCREEN are now zero-based.) Added routines for rudi-
mentary graphics mouse support and added separate demo
program MOUSDEMO.BAS. Subroutine BLINE can now draw
vertical lines upwards.
Version 2.1 - 6/4/96 - Added warning to QBSVGA.TXT about using BOXDRAG to
drag a box of zero width vertically across graphics
already on the screen and made other minor changes to
this text file. Greatly streamlined use of routines
by figuring out how to remove the necessity of passing
the INREGS and OUTREGS register variables to the
routines explicitly. (In addition to the .BAS files,
make sure you use the new REGTYPE.INC file too.)
Added monochrome versions of PUT and GET. Modified
BCIRCLE so that it calculates number of pixels to use
rather than just use a fixed number that is only
*hopefully* enough. (Although, the number being used
before was probably more than enough for any display
system compatible with this software.) Fixed BPOS to
return 1-based column and row values instead of 0-
based values. Added some DEFtype statements to
hopefully circumvent adverse effects of such
statements in user's routine.
Version 2.2 - 7/25/96 - Made slight corrections/additions to QBSVGA.TXT.
More importantly, I fixed an INCREDIBLY STUPID
problem with BGET and BPUT that wouldn't allow those
subroutines to work if the picture takes up more than
65,535 bytes of memory. Less importantly, fixed a
totally inconsequential "programming illogicalness"
in VS.EXE.
Version 3 - 8/13/96 - Fixed something about how function BIN$ was being used
that *should* cause problems but, for reasons I don't
understand, doesn't. (Just another "just to be safe"
fix.) VS now properly resets original video state.
It and VS1 now also report number of supported video
pages (at least, if your VESA bios supports this
function). BGET now properly saves just to the bottom
of the screen area that you specify instead of to the
bottom of the screen/viewport, regardless of what you
specified. BGET will also now still work if you
define the rectangular area of the screen backwards
(from right to left/bottom to top instead of other
way around). (This wasn't a big problem unless,
perhaps, you were using subroutine BOXDRAG to define
the area to BGET and weren't being careful how you
were doing it.) BPUT no longer has the potential
problem of plotting blank pixels over other data you
may already have on the screen outside of the picture
being restored from the array. (This only happened
when the picture width wasn't an even multiple of 8.)
For a slight improvement in speed, BPUT now makes its
own bios calls to plot the picture bits rather than use
BPSET. More than any of that, however, BPUT and BGET
now support 4 and single bit plane color graphics.
(The original monochrome BGET and BPUT subroutines
are retained as MGET and MPUT in case you actually
liked those versions. (They *do* have their uses.)
Also, you need to use the new REGTYPE.INC.) Added
subroutines to print graphics data generated with
QBSVGA to various types of printers and added
PRTEST.BAS to illustrate how these routines are used.
Added warning to QBSVGA.BAS and QBSVGA.TXT about
coordinates output by mouse routines not recognizing
the graphics viewport and that they must be converted
to viewport coordinates before using them with the
other QBSVGA routines, and made other requisite and
advisory changes/additions to QBSVGA.TXT. Modified
REGTYPE.INC to incorporate new global variables needed
by the new BPUT and BGET, and modified SIM.BAS to show
these subroutines' use. (Also, SIM.BAS no longer needs
to be compiled with the /AH option.)
Version 3.1 - 9/2/96 - If the various GET/PUT emulations didn't work right
before when the screen area being saved/restored was
less than 8 pixels wide, they should now. The
"PRESET" action verb should also now work with BPUT.